﻿Configuration TestJavaCertificate
{
    Import-DscResource -ModuleName cJavaManagement -Name cCertificateDeployment

    cCertificateDeployment Test
    {
        CertificateFilePath = "D:\devel\testCertificates.cer"
        CertificateAlias = "YGO"
        CertificateThumbprint = "CC:04:C4:FC:DD:6A:5E:53:EA:21:20:74:B9:70:85:C1:07:3B:F8:64"
        JavaFolderPath = "C:\Program Files\Java\jre7"
        Ensure = "Present"
    }
}

TestJavaCertificate -OutputPath D:\devel\dscoutput\cCertificateDeployment

Start-DscConfiguration -Wait -Force -Verbose -Path D:\devel\dscoutput\cCertificateDeployment